Electronic wallet system with secure inter-purses operations

ABSTRACT

The electronic wallet system comprises a plurality of devices interconnected through a local network and capable of conducting electronic business transactions on an open network. Each device contains a smart card reader. A plurality of smart cards represent electronic purses able to contain electronic money. One of the devices contains an entity, the server, which contains a list of data entries, each entry corresponding to a purse liable to receive electronic money, contained in tokens, from other purses of the system. The tokens transferred between purses are stored temporally by the server. In order to improve the security of the transactions, the messages which are exchanged between the devices and/or the smart cards during token transfer operations are protected by secret keys which are only stored in the smart cards of the system.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the invention

[0002] The present invention relates generally to electronic wallets for performing electronic commercial transactions on open networks such as internet, and more particularly to a new electronic wallet architecture and to methods for transferring tokens (or electronic money units) between electronic wallets.

[0003] 2. Description of the related art

[0004] Another European patent application No. 00400606.0 filed the same day as the present application (Mar. 7, 2000), in the name of the same applicant and having the following title: “electronic wallet system”, describes an electronic wallet system having a client/server architecture and comprising a plurality of purses. The client and server applications are executed in devices, such as set-top boxes (STB) and the system allows secure inter-purses operations.

[0005] The present application proposes an alternative solution to secure inter-purses operations in the electronic wallet system.

SUMMARY OF THE INVENTION

[0006] The invention relates to an electronic wallet system comprising n devices capable of conducting electronic business transactions on an open network and containing a smart card reader, wherein n is superior or equal to 1, and a plurality of smart cards representing electronic purses able to contain electronic money. The devices are interconnected through a local network and one of the devices comprises an entity, called the server, which contains a list of data entries, each entry corresponding to a purse liable to receive electronic money contained in tokens from others purses of the system. The server stores temporally the tokens when they are transferred between purses. According to the invention the messages which are exchanged between the devices and/or the smart cards during token transfer operations are protected by secret keys which are only stored in the smart cards.

[0007] The invention further relates to a process for registering a purse in such an electronic wallet system as described in section A-2. of the description.

[0008] The invention also relates to a process for depositing a token from a first purse for a second purse in such an electronic wallet system as described in section A-3. of the description and to a process for receiving a token in a purse as described in section A-4. of the description.

[0009] In addition, the invention concerns a process for recovering tokens which have been deposited for one purse using the token depositing process as described in section A-3. bellow but which have not been received by said purse when using the token receiving process described in section A-4. bellow. This lost token recovery process is described in section B of the description.

[0010] Moreover, the invention relates to an electronic wallet system in which each smart card of the system further contains an address of the server on the open network and in which each device is capable of conducting remote token depositing process, as described in section C-1. of the description, and/or remote token receiving process, as described in section C-2. of the description, with a remote electronic wallet system connected to the open network.

BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The various features and advantages of the present invention and its preferred embodiments will now be described with reference to the accompanying drawings which are intended to illustrate and not to limit the scope of the present invention and in which:

[0012]FIG. 1 illustrates the general architecture of an electronic wallet system according to the invention.

[0013]FIG. 2 illustrates an example of hardware architecture of an electronic wallet system according to the invention.

[0014]FIG. 3 illustrates some data contained in one entity called the server of the electronic wallet system.

[0015]FIG. 4 illustrates a first process involved in the transfer of tokens from one purse of the electronic wallet system to another.

[0016]FIG. 5 illustrates a second process involved in the transfer of tokens from one purse of the electronic wallet system to another.

[0017]FIG. 6 illustrates a process for registering one purse in the server of the electronic wallet system.

[0018]FIG. 7 illustrates the first process for transferring tokens from one purse to another in which security features have been added.

[0019]FIG. 8 illustrates the second process for transferring tokens from one purse to another in which security features have been added.

[0020]FIG. 9 is an example illustrating a lost token recovery process.

[0021]FIG. 10 describes a lost token recovery process.

[0022]FIG. 11 illustrates an interconnection of electronic wallet systems through an open network.

[0023]FIGS. 12 and 13 illustrate a remote process for transferring tokens from one purse to another in the case of electronic wallet systems interconnected through an open network as shown in FIG. 11.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0024]FIG. 1 illustrates the general architecture of a local electronic wallet system according to the invention which corresponds to the configuration of the system in a family.

[0025] As it can be seen on this FIG. 1, an electronic wallet system contains three entities:

[0026] a first entity 1 called the Server which is connected to an open network 40 (for example internet). This entity is responsible for the inter-purses operations, as will be explained in more details bellow;

[0027] a set of k second entities 21 to 2 k called clients which are also connected to an open network 40 (e.g. Internet). Moreover, each of these clients is also connected to the server via a local home network;

[0028] a set of p smart cards 31 to 3 p, the third entities (where p is the number of persons in the family) which implement the purses. Thus, each member of the family possesses his own purse represented by a smart card.

[0029] From these different entities, each member of the family should be able to participate to secured e-commerce activities. In fact, a smart card provides to the user an efficient and secure way to store all personal and sensitive data such as private keys, digital tokens, authentication data, etc.

[0030] An example of hardware implementation of this architecture is illustrated in FIG. 2. The entities “Server” and “Clients” are implemented, in a preferred embodiment, by software applications running in devices such as set-top boxes, computers, game stations, portable phones or any other home equipment.

[0031] In the example of FIG. 2, a first set-top box 10 contains the server application 101 and one Client₁ application 121. This first set-top box is for example located in the living-room of the family house. A second set-top box 11, located in another room of the house, contains another Client₂ application 122, while two other devices, a game station 12 and a computer 13, located in children bedrooms for example, contain respectively Client₃ application 123 and Client₄ application 124. The devices are equipped with smart card readers 130-133 and are all connected to a home network 250, which may be an IEEE 1394 wire or wireless network. This home network 250 provides a connection to an open network 140 for all the devices 10-13.

[0032] All the applications 101, 121-124 use some resources of the devices to access to the smart card readers 130-133 and to the local and/or open network.

[0033] In order to simplify the further discussion, the terms “server” and “client” will be used hereafter to refer either to the application itself or to the device containing the application, with the exception that the device referred to as “server” also contains a client application.

[0034] Thus, when the user wants to perform electronic financial operations (electronic commerce, token purchase, purse-to-purse token transfer . . . ), he has to insert his smart card in the smart card reader of a client (here, the device) that contains all needed software in order to perform all of these activities (macropayment protocols, micropayment protocols, etc.).

[0035] It should be noted that the server is also capable of performing electronic financial and business operations because it also contains a client and that, in an extreme solution, the electronic wallet system contains only one device containing the server application and one client application.

[0036] We will now describe the inter-purses operations.

[0037] Contrary to classical financial operations (e-commerce, token purchase, etc.), the inter-purses operations need the participation of the server. All needed information used to make these inter-purses operations are centralized in the server which is connected to all clients via a local home network (250 in FIG. 2).

[0038] The inter-purses transfer of tokens is implemented by two operations: token depositing and token receiving. During the token depositing operation, a user A deposits x tokens intended for another family member B from any client. The x tokens are debited from the purse of the user A and stored temporally in the server. Next time, when the user B inserts his purse at any client, the token receiving operation is called to download the x tokens from the server. In this way, tokens are transferred from the purse of the user A to the purse of the user B thanks to the server.

[0039] To this end, the server contains a list of all registered purses representing the purses which can receive tokens from other purses. The registered purses are used to temporally store the list of tokens intended for the owner of the purses.

[0040]FIG. 3 shows an example of these internal data located on the server. On this figure, three purses denoted by P_(A), P_(B) and P_(D) are registered in the server. As for purse P_(A), no tokens have been stored meaning that the purse P_(A) has not received any token from another purse. As for purse P_(B), the token T₁ denoted by (10,P_(A)) indicates that the purse P_(B) has received 10$ (or 10 Euro, or 10 units of any money used in the electronic wallet system) from the purse P_(A). This token will be transferred to the purse P_(B) at the next use of P_(B). As for purse P_(D), the tokens T₂ (20 units of money received from purse P_(A)) and T₃ (1 unit of money received from purse P_(B)) will be transferred to P_(D) at the next use of P_(D).

[0041] It is therefore necessary to consider, in addition to the operations of token depositing and token receiving, a third one, called purse registering. This operation consists in the registration of the purses in the server. It should be noted that only a user who whishes to receive tokens from other purses' holders of the family must have his purse registered.

[0042] The first operation, called the token depositing process, will now be described in view of FIG. 4.

[0043] When a user A who owns a purse P_(A) desires to transfer tokens to another purse, the user A has first to insert his smart card corresponding to purse P_(A) in a client and to chose, via the user interface of the client, the application for transferring tokens to another purse. Then, the client on which the user A is connected (that means, on which the smart card representing the purse P_(A) is inserted) sends a request to the server (Message “getPurseList” sent at step 50—FIG. 4) which sends back a response with the list of all registered purses (designating those which can receive tokens) in a message “ListPurses(m,PID₁, . . . ,PID_(m))” (step 51) where “m” designates the number of registered purses and “PID₁, . . . , PID_(m)” designate the different purse's identifiers of the list of registered purses. Once the client receives this list, it displays it to the user A who can choose the recipient P_(B) of the token transfer and the amount to be transferred.

[0044] Next, the client sends to the server a message “Deposit(amount,purse_recipient,purse_sender)” (at step 52) wherein “amount” corresponds to a number of units of money to transfer, “purse_recipient” is the recipient's purse identifier (here, it corresponds to PID_(B)) and “purse_sender” is an information about the sender of the tokens. Advantageously this information will be the sender's purse identifier PID_(A) or the name of user A. When the server receives this message, it adds a token T_(i)=(amount,P_(A)) in the list of tokens stored in the entry corresponding to purse P_(B). In a simplified implementation of the invention, the “purse_sender” information can be omitted from the “Deposit( )” message. In this case, the token stored in the server will only contain the “amount” information.

[0045] Now, the second operation, called the token receiving process, will be described in view of FIG. 5.

[0046] This process is executed each time a user B enters his smart card, corresponding to purse P_(B), in a client and is used to contact the server in order to download tokens stored in the entry corresponding to purse P_(B) in the server.

[0047] The two following messages will be exchanged at steps 60, 61, 60′, 61′ as long as there are remaining tokens stored in the server's entry corresponding to purse P_(B).

[0048] The first message “GetNextToken(purse_id)” is sent by the client to the server (steps 60, 60′) with “purse_id” being the identifier of the purse (here PID_(B)). On receipt of this message, the server copies the first token of the list attached to the purse_id entry and deletes this token. Then, it sends to the client (at steps 61, 61′) the second message “Token(purse-id,amount)”, where “purse_id” is the identifier of the purse (here PID_(B)) and “amount” indicates the amount of money to be transferred. When the client receives this second message, it credits the purse P_(B) with the amount indicated.

[0049] A—Security issues

[0050] Before participating in e-commerce activities as well as inter-purses operations with the electronic wallet system of the invention, the user must be sure that the system cannot be easily attacked and for this purpose, solutions providing a sufficient level of security have to be proposed.

[0051] We will first present the security requirements concerning the inter-purses operations supplied by the electronic wallet system. Then, based on these security requirements, the security solutions proposed by the invention, which ensure a sufficient level of security of the electronic wallet system, will be presented.

[0052] The main threats on the electronic wallet system can be listed as follows:

[0053] the purses registered in the server belong to outsiders of the family;

[0054] money is illegally minted;

[0055] tokens are lost forever during the inter-purses operations;

[0056] tokens intended for a user are stolen by another user, either inside or outside the family.

[0057] The invention therefore proposes security solutions to reduce these threats and meet the following security requirements:

[0058] only the purses owned by the family members can be registered in the server (of course, this requirement is not strictly limited to real members of a family and can be extended to people “considered as” family members);

[0059] the money minting should be prevented;

[0060] the tokens lost during inter-purses operations should be detected and recovered;

[0061] the tokens should be transferred to the destined person.

[0062] 1. Configuration

[0063] Each family possesses a set of secret keys SK, SKA, SKT and SKR (acronyms are explained in Table 1 bellow) shared by the purses owned by the family members. These secret keys are sealed inside the purses (i.e. the smart cards) before their delivery and only the electronic wallet system manufacturer knows them.

[0064] We suppose in the following that a family has p purses (i.e p smart cards) and that m purses are registered in the server of the electronic wallet system (with m≦p).

[0065] According to the invention, all the secrets which are used to secure the inter-purses operations of the electronic wallet system are only stored inside the smart cards representing the purses of the electronic wallet system.

[0066] Each purse P_(i) (i.e. each smart card SCard₁ to SCard_(p)) contains the information listed in Table 1 bellow (with 1≦i≦p): TABLE 1 Acronym/Abbreviation Meaning SK Key used for transferring tokens SKA Key used for purses registration SKT Key used for secure transactions SKR Key used for lost tokens recovery Receive Trace Traces remembering the tokens received from (PID_(j)) other purses, used for lost tokens recovery (explained latter in section B) Deposit Trace Traces remembering the tokens deposited by (PID_(i), PID_(j)) purse P_(i) to the registered purse whose identifier is PID_(j) (with 1 ≦ j ≦ m), used for lost tokens recovery (as explained latter in section B) PID_(i) Unique purse identifier Counter Amount of units of money contained in the purse TransID_(i) ^(P) Transaction identifier of tokens received by the purse, set to zero at the initialization of the electronic wallet system by the manufacturer

[0067] The server contains a list of entries. Each entry corresponds to a registered purse whose purse identifier is PID_(i), with 1≦i≦m. An entry contains the information listed in Table 2 bellow: TABLE 2 Information Meaning S_(SKA)(PID_(i)) Signed identifier of the registered purse PID_(i). S_(SKT)(PID_(i), Signed transaction identifier of tokens deposited for the TransID_(i) ^(S)) purse PID_(i). Tokens A list of tokens intended for purse PID_(i), received from other purses. Index_(i) The number of tokens still left on the server for purse PID_(i).

[0068] It should be noted that the notation S_(K)(M) will be used throughout the specification to designate “M || Sign(K, M)” where “Sign(K, M)” is the signature or the MAC (standing for “Message Authentication Code”, more details about which can be found in <<(Handbook of applied cryptography, Alfred J. Menezes, Paul C. van Oorschot, Scott A. Vanstone, 1997, page 325>>) of the message M using the key K and where “||” represents the concatenation operator.

[0069] 2. Purse registration

[0070] As mentioned previously, in order to receive tokens from other purses, a purse must be registered in the server which is responsible for inter-purses operations.

[0071] So, before a user B, for example a children, can receive tokens from a user A, for example one of his/her parents, the purse of user B must be registered in the server.

[0072] In a preferred embodiment of the invention, this registration phase will ensure that only members of the family can have their purse registered in the server. Of course this is not strictly limited to real members of the family and the purse registration can be extended to people “considered as” members of the family.

[0073] It is therefore proposed that a given member of the family has the root rights to register the purses of all members of the family. Unlike the other members of the family, only this privileged user, called the “root user” in the following, will be authorized to execute the registration phase. In the electronic wallet system, the root user is considered as a “third trust party” which will ensure that all registered purses are owned by a member of the family.

[0074] In order to implement this functionality, a special smart card for which the PIN (Personal Identification Number) has the administration rights (“root” rights) is provided by the electronic wallet system manufacturer together with the other entities of the system. This special card will be referred to as the “root card” in the following. A “rootPIN” is stored in the root card to provide a way to verify that the user who attempts to execute the registration phase is the root user. Moreover, in a preferred embodiment, the software for executing this registration phase is preferably only contained in the server and this registration phase is always executed on the server.

[0075] In an alternative embodiment, this root card may be one of the purses of the electronic wallet system.

[0076] Now, we will describe more precisely, in view of FIG. 6, how this registration phase is executed according to a preferred embodiment. We suppose that user X is the root user. When X wants to initiate the registration process, X has first to insert the root card in the server. Then he enters rootPIN to prove that he is indeed the root user in order to start the registration process.

[0077] This entered rootPlN is sent by the server to the smart card (the root card) in a message “register(rootPlN)” (at step 70). Then, the root card verifies that the root PIN received matches the one stored in the card.

[0078] The rootPlN is used to ensure that only the authorized person has the right to register the purses of the family. This ensures that only the purses owned by the family members can be registered in the server.

[0079] Then, if the verification is positive, the root user will be able to remove the root card and to insert the smart card corresponding to the purse he wants to register in the server, for example purse P_(B) belonging to user B.

[0080] The smart card corresponding to P_(B) creates a signed purse identifier S_(SKA)(PID_(B)) and a signed transaction identifier S_(SKT)(PID_(B), TransID_(B) ^(S)) where TransID_(B) ^(S) is initialized with TransID_(B) ^(P) stored in P_(B). It should be noted that, at the installation of the system, TransID_(B) ^(S) is initialized at 0.

[0081] S_(SKA)(PID_(B)) prevents the purse identifiers PID_(B) to be modified during the transmission or when it is stored in the server.

[0082] S_(SKT)(PID_(B), TransID_(B) ^(S)) aims at initializing the transaction identifier TransID_(B) ^(S) of tokens deposited for the purse P_(B). The TransID_(B) ^(S) is associated to the PID_(B) and signed using the secret key SKT. This prevents the TransID_(B) ^(S) to be modified during the transmission or when it is stored in the server.

[0083] The smart card sends this information to the server in a message “RegInfo” (step 71). Then, the server creates an entry for the purse P_(B) and stores the information contained in RegInfo in this entry.

[0084] These steps are repeated for each one of the m purses to be registered.

[0085] It should be noted that the modification of either PID_(B) or TransID_(B) ^(S) stored in one entry of the server would cause the tokens to be refused by the purse for which they are intended, therefore resulting in the loss of these tokens.

[0086] In addition, this registration process should be executed preferably at the very beginning of the electronic wallet system installation. It should also be noted that, in the case that the server loses the information of registered purses due to technical failure or vandalism attacks, the purses should be registered again using the same process.

[0087] In an alternative embodiment of the registration process, the root card contains the purse identifiers PID_(i) of all the purses of the electronic wallet system as well as the secret keys SKA and SKT. In this particular embodiment, the registration process is executed at the installation of the system and it is not necessary to enter all the smart cards corresponding to the purses of the electronic wallet system in the server. The RegInfo message sent at step 71 for each registered purse is constructed by the root card thanks to the information it contains with the signed transaction identifier initialized at zero. RegInfo therefore contains, for example for purse P_(B):

[0088] RegInfo=S_(SKA)(PID_(B)), S_(SKT)(PID_(B), 0).

[0089] This alternative registration process can only be used at the installation of the system and the process which has been described previously according to a preferred embodiment is still used when it is necessary to register again one purse (for example when the server has lost the information regarding this purse).

[0090] 3. Token depositing process

[0091] In FIG. 4, we have illustrated the general principle of the Token depositing process. We will now describe an improved secure protocol used in the first process of the inter-purses operations and illustrated in FIG. 7.

[0092] We suppose that a user A having a purse P_(A) wants to deposit some tokens for another purse P_(B). The user A first inserts the smart card corresponding to purse P_(A) in a client and selects a Token depositing application on the client. The client then sends to the server a message “getPurseList” at step 150 to request the list of the registered purses.

[0093] On receipt of this message, the server sends back to the client the list of the identifiers of the registered purses in a message “PID₁, . . . ,PID_(m)” at step 151. This list is presented to the user by the client and the user chooses the recipient purse identifier PID_(B) and enters the number N of units of money he wants to transfer to the recipient purse.

[0094] The client then sends a message “getPurseInfo(PID_(B))” to the server at step 152 to request some information about the chosen recipient purse. Next, the server constructs a “PurseInfo” message containing local data stored in the entry corresponding to PID_(B) on the server. The “PurseInfo” message contains the signed purse identifier S_(SKA)(PID_(B)) and the signed transaction identifier S_(SKT)(PID_(B), TransID_(B) ^(S)) and is sent to the client at step 153. Thanks to the signatures S_(SKA) and S_(SKT), both the PID_(B) and the TransID_(B) ^(S) cannot be modified during the transmission.

[0095] TransID_(B) ^(S) is an ever increasing integer, stored in the server's local data, in the entry corresponding to the registered purse P_(B). It memories the number of tokens deposited for purse P_(B) since the registration of the purse P_(B). The deposited tokens are temporarily stored in the server and will be transferred to the purse P_(B) through the “token receiving” process at the next use of purse P_(B). As previously stated, the transaction identifier TransID_(B) ^(S) is initialized with the value of the purse transaction identifier TransID_(B) ^(P) stored in the purse during the registration phase (which is equal to zero at the installation of the system). It is then incremented when tokens are deposited on the server for purse P_(B).

[0096] When the client receives the “PurseInfo” message, it sends a message “debitTokens(N, PurseInfo)” to the smart card corresponding to purse P_(A) (which is inserted in the client) at step 154. This message will debit the counter of purse P_(A) of N units of money to be transferred to purse P_(B).

[0097] On receipt of the “debitTokens(N, PurseInfo)” message, the smart card (corresponding to purse P_(A)) executes the following operations:

[0098] it checks the signature of the purse identifier PID_(B) using key SKA;

[0099] it checks the signature of the transaction identifier TransID_(B) ^(S) using key SKT;

[0100] If these verifications are positive, then it generates a random number C;

[0101] it decrements the purse P_(A) counter by N units;

[0102] it creates a signed token “S_(SK)(N, PID_(B), TransID_(B) ^(S), PID_(A), C)” meaning that N units of money are intended for purse P_(B) from purse P_(A);

[0103] it increments the received transaction identifier TransID_(B) ^(S) and creates a signed incremented transaction identifier “S_(SKT)(TransID_(B) ^(S)++)”; and

[0104] it sends to the client the signed token and the signed incremented transaction identifier in a message “TokenInfo” at step 155.

[0105] Since the token is signed using the secret key SK shared by the purses in the family, an attacker cannot forge or modify the token. In addition, since PID_(B) is included in the token representation, an attacker cannot steal tokens intended for another family member. The transaction identifier TransID_(B) ^(S) is introduced in the token to prevent a replay attack and the random number C contained in the token is used to counter an attack that would compromise the secret key SK of the smart card by analyzing the output cipher texts.

[0106] Moreover, the information PID_(A) contained in the token may be omitted in an alternative simplified embodiment.

[0107] When the client receives the “TokenInfo” message, it forwards it to the server at step 156 in a command message “putTokens(TokenInfo)”. On receipt of this command, the server stores the corresponding token in the entry of purse P_(B), it increments the index and it updates the signed transaction identifier TransID_(B) ^(S) with the incremented transaction identifier received in the “TokenInfo” message.

[0108] 4. Token receiving process

[0109] The general principle of the Token receiving process has been described in view of FIG. 5. We will now present an improved secure protocol used in the second process of the inter-purses operations and illustrated in FIG. 8.

[0110] This process is executed each time a user inserts his/her smart card representing a purse in a client. Here, we suppose that the user has a purse P_(B) whose identifier is PID_(B).

[0111] The first step 160 consists for the client in sending a message “getPID” to the smart card to request the purse identifier. The smart card responds to this request by sending, at step 161, the purse identifier PID_(B) to the client. Then, the client sends a message “GetNextToken(PID_(B))” to the server (step 162) to fetch the next token stored on the server.

[0112] On receipt of this message, the server checks whether tokens are stored in the entry corresponding to purse PID_(B). If no tokens have been deposited for purse PID_(B), then the server sends “−1” to the client (at step 163). Otherwise:

[0113] it fetches the first token (in fact a signed token “T₁=S_(SK)(N, PID_(B), TransID_(B) ^(S), PID_(A), C)”) stored in the entry corresponding to P_(B);

[0114] it decrements the Index_(B) of entry P_(B), the Index_(B) indicating the number of tokens still left on entry P_(B) of the server; and

[0115] it sends to the client the Index_(B) and the token at step 163.

[0116] If the client has not received “−1” at step 163, then it forwards the token to the purse P_(B) in a command message “CreditToken(Token)” sent at step 164.

[0117] When the purse P_(B) receives tokens through creditTokens command, it checks the validity of the tokens by verifying if the following conditions hold:

[0118] V_(SK)(S_(SK)(N, PID_(B), TransID_(B) ^(S), PID_(A), C))==N, PID, TransID_(B) ^(S), PID_(A); C (verification of the signature of the received token); and

[0119] TransID_(B) ^(S)≧TransID_(B) ^(P)

[0120] where the secret key SK, the purse identifier PID and the purse transaction identifier TransID_(B) ^(P) come from the user's purse P_(B); where the challenge C, the purse sender identifier PID_(A), the server transaction identifier TransID_(B) ^(S) and the amount of units of money N are copied from the received token and where “V_(SK)(S_(SK)(M))==M” if the message M has been signed with the key SK.

[0121] The purse transaction identifier TransID_(B) ^(P) is an ever increasing integer, stored in the purse P_(B). It memories the number of tokens received by the purse P_(B). These tokens are downloaded from the server. The purse transaction identifier is initialized at 0 when the purse is registered by the electronic wallet system manufacturer. Upon reception of tokens, the purse verifies if TransID_(B) ^(P) is equal to or less than the server transaction identifier (TransID_(B) ^(S)) contained in the token. Then, if this verification and the verification of the signature of the token are positive, the purse increments its counter by N and it updates its transaction identifier TransID_(B) ^(P) to TransID_(B) ^(S)+1. Thanks to this feature, the same tokens can never be used more than once to credit the purse.

[0122] Next, steps 162 to 164, followed by verifications and actions described above performed in the purse P_(B), are repeated while Index_(i) (received at step 163) is greater than zero.

[0123] B—Lost tokens recovery

[0124] Based on the security solution described previously, it is possible to ensure that only the purses owned by the family members can be registered in the electronic wallet system. Moreover tokens can never be forged, modified, replayed or stolen during the inter-purses operations.

[0125] However, no solution has been presented to prevent tokens to be lost. Tokens can be lost due to some accidental errors such as technical failure of local network or Set-Top Boxes of the electronic wallet system. It can also be caused by vandalism attacks like deleting tokens stored in server or in transmission, etc.

[0126] Therefore, in a preferred embodiment of the invention, an audit process allowing to identify and recover lost tokens will be implemented in the electronic wallet system.

[0127] The tokens are defined as being lost if and only if they have been debited from a purse P_(A) or P_(B), but they are never credited to the purse P_(D). Here we use an example to illustrate the process where P_(A) and P_(B) transfer tokens to P_(D) through the server 1 as illustrated in FIG. 9.

[0128] 1. Starting of the process

[0129] The audit process starts when the owner of P_(D) claims (falsely or truly) that he has not received tokens from P_(A) or P_(B). Another alternative solution is that the process is called periodically.

[0130] The audit is processed locally by the root user of the electronic wallet system. He has to collect all the purses of the family (i.e. all the smart cards representing the purses of the family members). The process is executed by the server of the electronic wallet system.

[0131] During the audit process, the “transaction traces” stored in all the purses (P_(A), P_(B), P_(D)) will be studied in order to recover the lost tokens.

[0132] 2. Transaction traces for audit

[0133] As for purses P_(A) or P_(B), they store traces of “Token depositing” transactions intended for the purse P_(D), noted as:

[0134] DepositTraces(P_(X), P_(D))=<TransID_(XD), sum_of_deposited_(XD)>

[0135] TransID_(XD) is an inter purse transaction identifier and sum_of_deposited_(XD) is an inter purse deposit count.

[0136] In other words, each time when the purse P_(X) deposits 1 token containing N units of money and the server transaction identifier TransID_(D) ^(S) to the purse P_(D), TransID_(XD) is updated to TransID_(D) ^(S) and N is added to sum_of_deposited_(XD). The definition of inter-purses operations (Token depositing and Token receiving process) ensures that TransID_(XD) keeps an ever increasing order. Note that X is either A or B in our example.

[0137] As for purses P_(D), it stores traces of “Token receiving” transactions originated from purses P_(A) and P_(B), noted as:

[0138] ReceiveTraces(P_(D))=sum_of_received_(D) sum_of_received_(D) is a receive count.

[0139] In other words, each time when the purse P_(D) recovers 1 token containing N units of money sent by the purse P_(X), N is added to sum_of_received_(D).

[0140] 3. Identify lost tokens from transaction traces

[0141] From the definition of inter-purses operations, it is possible to prove that:

[0142] Σ_(X) sum_of_deposited_(XD)≧sum_of_received_(D) always holds, meaning that token minting is impossible;

[0143] if Σ_(X) sum_of_deposited_(XD)=sum_of_received_(D) then no token has been lost;

[0144] if Σ_(X) sum_of_deposited_(XD)>sum_of_received_(D) then some tokens have been lost.

[0145] The amount of lost tokens intended for P_(D) is equal to:

[0146] LostTokens(P_(D))=Σ_(X) sum_of_deposited_(XD)−sum_of_received_(D)

[0147] 4. Recovery of lost tokens

[0148] In order to recover the lost tokens intended for P_(D) (containing the current purse transaction identifier TransID_(D) ^(P)), four operations should be done:

[0149] first, the counter of P_(D) is credited by LostTokens(P_(D));

[0150] second, the purse transaction identifier of P_(D) is updated to Max(TransID_(D) ^(P), TransID_(XD)+1);

[0151] third, sum_of_received_(D) is set to 0;

[0152] and fourth, for the purse P_(X), sum_of_deposited_(XD) is set to 0 where X is A or B in our example.

[0153] It should be noted that the second operation aims at preventing the following attack: the holder of P_(D) keeps the tokens intended for him and claims the loss of those tokens. If the transaction identifier of P_(D) was not updated, he would be able to recover those tokens through the “Token receiving” operation. This attack would cause the minting of money.

[0154] 5. Secure audit process

[0155]FIG. 10 illustrates the secure audit process which allows to recover lost tokens intended for the purse P_(D) with the help of transaction traces stored in the purses of the family.

[0156] In a first step (not represented in FIG. 10), as during the registration process, the root user has to insert the root card in the server and to enter the root PIN before being allowed to start the secure audit process.

[0157] Then, in a second step, the root user inserts purse P_(D) in the server which sends to purse P_(D) a message “getChallenge” at step 180 requesting the purse P_(D) to generate a random number C. On receipt of this message, P_(D) generates and stores a challenge C and it sends C to the server at step 181. This random number C is stored in both P_(D) and the server. Thanks to C, it will not be possible to replay messages exchanged during one execution of the process during another execution of the audit process.

[0158] Then the root user will insert all the other purses of the family (P_(A) and P_(B) in our example). For each purse P_(X) inserted in the server, the server will first send a message “getDepositTraces(PID_(D), C)” to the purse P_(X) (steps 182 and 184 in FIG. 10). In response to this message, the purse P_(X) generates the following message using the “DepositTrace(PID_(X),PID_(D))” field stored in purse P_(X):

[0159] Trace_(XD)=S_(SKR)(TransID_(XD), sum_of_deposited_(XD), PID_(X), PID_(D), C) which is sent to the server at steps 183, 185.

[0160] Then, the sum_of_deposited_(XD) field of DepositTrace(PID_(X),PID_(D)) stored in P_(X) is set to 0 when the purse P_(X) sends the Trace_(XD) message to the server.

[0161] The Trace_(XD) message is signed using a secret key SKR by the purse P_(X) which has deposited tokens for P_(D). Therefore, nobody can forge/modify this message. SKR is a secret key used in the lost tokens recovery process. Like other secret keys, it is stored in the smart cards representing the purses by the electronic wallet system manufacturer and shared by the family members.

[0162] The random number C (received by the purse P_(X) in the “getDepositTrace” message sent at step 182, 184) is introduced in the Trace_(XD) message to counter a possible replay attack (e.g. replaying recoverTokens message explained bellow).

[0163] All the Trace_(XD) messages received by the server are stored in the entry corresponding to purse P_(D) in the server.

[0164] Then, when the root user has successively introduced and removed all other purses of the family in the server, he finally reintroduced purse P_(D) in the server.

[0165] Next, at step 186, all the Trace_(XD) messages are sent to P_(D) through a recoverTokens command.

[0166] Upon reception of Trace_(XD) by P_(D), the signature of Trace_(XD) is checked by verifying if the following condition holds:

[0167] V_(SKR)(S_(SKR)(TransID_(XD), sum_of_deposited_(XD), PID_(X), PID_(D), C)==TransID_(XD), sum_of_deposited_(XD), PID_(X), PID, C;

[0168] where the secret key SKR, the purse identifier PID and the challenge C come from the purse P_(D);

[0169] where TransID_(XD), sum_of_deposited_(XD) and PID_(X) are copied from the received Trace_(XD) message and

[0170] where “V_(SKR)(S_(SKR)(M))==M” if the message M has been signed with the key SKR.

[0171] Then, if the verification is positive, the following calculation is made by purse P_(D):

[0172] LostTokens(P_(D))=Σ_(X) sum_of_deposited_(XD)−sum_of_received_(D)=sum_of_deposited_(AD)+sum_of_deposited_(BD)−sum_of_received_(D)

[0173] where sum_of_received_(D) is taken from the ReceiveTraces(P_(D)) stored in P_(D).

[0174] The result of this calculation gives the number N of units of money which have been lost due to the loss of tokens. This amount N is therefore credited to the counter of P_(D).

[0175] Then, as explained in point 4. above, the transaction identifier of P_(D) is updated to:

[0176] TransID_(D) ^(P)=Max (TransID_(D) ^(P), TransID_(AB)+1, TransID_(BD)+1).

[0177] Finally, the sum_of_received_(D) field of ReceiveTraces(P_(D)) is set to 0.

[0178] Moreover, it should be noted that it is the root user's responsibility to gather all the purses of the family before launching the secure audit process which has been described here. Otherwise, some lost tokens would not be recovered.

[0179] C—Remote access mode

[0180] Thanks to the architecture of the electronic wallet system of the invention presented in FIG. 1, it is possible to interconnect several electronic wallet systems 200 . . . 300 through an open network 240 as illustrated in FIG. 11.

[0181] In FIG. 11, we have represented:

[0182] a first Electronic wallet system₁ 200 comprising a Server 201, a set of Clients 221 to 22 k and a set of p smart cards representing purses 231 to 23 p of a first family; and

[0183] another Electronic wallet system_(r) 300 comprising a Server 301, a set of Clients 321 to 321 and a set of q smart cards representing purses 331 to 33 q of another family.

[0184] The servers 201, 301 and the clients 221-22 k, 321-32 l are all connected to the open network 240 (e.g. Internet).

[0185] With this extended architecture, it is now possible to perform inter-purses operations between several local electronic wallet systems and thus each inter-purses operation presented in sections A-3. and A-4. above can be made locally or remotely depending on the recipient purse (in the case of Token depositing process) or on the locality of the client (in the case of Token receiving process).

[0186] More precisely, a user A can transfer tokens from his purse towards another purse of the family whatever the compliant electronic wallet system he is connected on and he can receive tokens from any purse of the family each time he inserts the smart card representing his purse on a client of a compliant electronic wallet system, this system being at home or not.

[0187] This feature is made possible thanks to the fact that each electronic wallet system server is connected to an open network such as Internet and has a unique IP address (“IP” standing for “Internet Protocol”) which identifies the server on the network and which is known by all family members. This IP address of the server is preferably stored in the smart cards of the family, for example at the initialization of the system.

[0188] We will now describe how the remote inter-purses operations are performed based on the secure protocols that have been described previously (in sections A-3. and A-4.) to perform local inter-purses operations.

[0189] 1. Remote Token depositing process

[0190] This process is illustrated in FIG. 12.

[0191] We suppose that a user A having a purse P_(A) belonging to a first electronic wallet system wants to deposit a token containing N units of money on a purse P_(B) which is registered on a server S belonging to the same electronic wallet system.

[0192] The user A inserts his smart card representing purse P_(A) in a client connected to a local server S′.

[0193] At first, at step 251, the IP address of the server S which is stored in P_(A) is sent to the client. The client then checks whether the received IP address is or is not the one of the local server S′.

[0194] If S and S′ are the same server, then the local mode will be chosen and the process will be the same as the one which has been described previously in view of FIG. 7. Otherwise, if S′ belongs to a different electronic wallet system than S, the remote mode will be chosen.

[0195] Here, we suppose that S and S′ are different servers of different electronic wallet systems and that the remote mode has been chosen.

[0196] In this case, at the next step 252, the client sends to the server S′ a first message “getPurseList(IP address S)”. This message is the same as the one sent at step 150 in FIG. 7 (as the other messages which will follow) except the fact that, in remote mode, the IP address of the server S on which is registered the recipient purse P_(B) is added to the message. At the following step 253, this message is forwarded to the server S by the server S′ through the open network 240 in a known manner thanks to the IP address of the server S.

[0197] On receipt of this message, the server S responds by sending (at step 254) the list of registered purses “PID₁, . . . , PID_(B), . . . PID_(m)” to the server S′ which forwards this message to the client on which the user A is connected at step 255.

[0198] The client displays the received list to the user A who can choose the recipient purse P_(B) and indicate the amount N of money to be transferred to P_(B). Then, at step 256, a message “getPurseInfo(PID_(B))” is sent by the client to the server S′ (as in step 152 in FIG. 7) which forwards it to the server S at step 257. The server S responds, at step 258, by sending a “PurseInfo” message to the server S′ (as in step 153 of FIG. 7), the “PurseInfo” message being forwarded to the client on which the user A is connected at step 259.

[0199] On receipt of this “PurseInfo” message, at step 260, the client sends to the smart card representing purse P_(A) a “debitToken(N, PurseInfo)” message similar to the message sent at step 154 in FIG. 7.

[0200] Next, the smart card (or purse P_(A)) verifies the content of “PurseInfo” by checking the signatures of the purse identifier PID_(B) and of the transaction identifier TransID_(B) ^(S) using keys SKA and SKT.

[0201] It should be noted that each electronic wallet system has its own set of secret keys SK, SKA, SKT and SKR which are embedded in the purses of the family members and which are different from one electronic wallet system to the other. In this case, as the purse P_(A) belongs to the same electronic wallet system as the purse P_(B), they both share the same set of secret keys SK, SKA, SKT and SKR and P_(A) can verify the content of the “PurseInfo” message.

[0202] Returning to FIG. 12, if the verification of the content of “PurseInfo” is positive, then the purse P_(A) sends to the client a signed token and a signed incremented transaction identifier in a message “TokenInfo” at step 261 (similar to the message sent at step 155 in FIG. 7).

[0203] When the client receives the “TokenInfo” message, it sends it to the server S′ at step 262 in a command message “putTokens(TokenInfo)”, this message being forwarded by the server S′ to the server S at step 263.

[0204] On receipt of this command, the server S stores the corresponding token in the entry of purse P_(B) and performs the same actions as described previously in view of FIG. 7, after step 156.

[0205] 2. Remote Token receiving process

[0206] This process is illustrated in FIG. 13.

[0207] We suppose now that a user B has his purse P_(B) registered in a server S of a first electronic wallet system and that B wants to receive the tokens which have been transferred to his purse and which are registered on the server S.

[0208] The token receiving process is either launched as soon as a user inserts his smart card representing a purse in a client connected to a local server S′ or when the user has chosen, through the user interface of the client, to launch this process. Here, we suppose that the user B has inserted his purse P_(B) in the client and that the token receiving process is launched.

[0209] The first step 270 consists in the sending of a message “getPID” by the client to the smart card representing purse P_(B). The purse responds by sending its purse identifier and the IP address of the server S on which it is registered (message “PID_(B), IP address S” sent at step 271).

[0210] When the client receives this message, it checks whether the received IP address is the one of the local server S′ on which it is connected or not to choose between the local mode and the remote mode. If S and S′ are the same server, then the local mode will be chosen and the token receiving process will be the same as the one described previously in view of FIG. 8. Otherwise, the remote mode will be chosen.

[0211] In the following, we will suppose that S and S′ are different servers of different electronic wallet systems and that the remote mode has been chosen for the token receiving process.

[0212] In this case, the client sends to the local server S′ a message “GetNextToken(PID_(B), IP address S)” at step 272. When the server S′ receives this message, it checks the IP address contained in the message and if the IP address is different from its own, then it forwards the message through the open network 240 to the server S at step 273.

[0213] When the server S receives this message, it will act in the same manner as what has been described previously in view of FIG. 8 when the server receives message “GetNextToken(PID_(B))” at step 162. If at least one token has been deposited for purse P_(B) on the server S, it will send back to the server S′ a message “Index_(B), Token” at step 274 (message similar to the message sent at step 163 in FIG. 8) and the server S′ will forward this message to the client on which the user B is connected at step 275.

[0214] Next, at step 276, the client forwards the token to the purse P_(B) in a command message “CreditToken(token)” similar to the one sent at step 164 in FIG. 8. The smart card representing purse P_(B) will then do the same verifications (thanks to the secret key SK stored in the smart card) and actions as the ones that have been described in view of FIG. 8, after step 164.

[0215] Steps 272 to 276, followed by the above mentioned verifications and actions performed by the smart card are repeated while Index_(B) (received at step 275) is greater than zero. 

1. Electronic wallet system comprising: n devices (10-13) capable of conducting electronic business transactions on an open network (40, 140) and containing a smart card reader (130-133), wherein n is superior or equal to 1, said devices being interconnected through a local network (250); a plurality of smart cards (31-3 p) representing electronic purses able to contain electronic money; wherein one of said devices comprises an entity (1, 101), called the server, which contains a list of data entries, each entry corresponding to a purse liable to receive electronic money contained in tokens from others purses of said system; said server storing temporally said tokens when they are transferred between purses; and wherein messages which are exchanged between said devices and/or said smart cards during token transfer operations are protected by secret keys which are only stored in said smart cards.
 2. System according to claim 1 , wherein each smart card contains: a unique purse identifier (PID_(i)); a counter of money; a purse transaction identifier (TransID_(i) ^(P)); a first purse identifier secret key (SKA); and a second transaction identifier secret key (SKT); said first and said second secret keys being shared by all the purses of said system.
 3. System according to claim 2 , wherein at the installation of the system, said counter of money and said transaction identifier (TransID_(i) ^(P)) are initialized at zero.
 4. System according to claim 2 , wherein each entry corresponding to a purse (P_(i)) in said server contains: said purse identifier (PID_(i)) and a signature of said purse identifier using said first secret key (SKA); a server transaction identifier (TransID_(i) ^(S)) and a signature of said transaction identifier and of said purse identifier using said second secret key (SKT); and an index (Index_(i)) of the number of tokens received for said purse by the server.
 5. System according to claim 4 , wherein each smart card further contains a third token secret key (SK) shared by all the purses of said system; and wherein each entry corresponding to a purse (P_(i)) in said server further contains, should the index (Index_(i)) be greater than zero: at least one token containing: an amount of money (N); said purse identifier (PID_(i)); and said server transaction identifier (TransID_(i) ^(S)); and a signature of said token using said third secret key.
 6. System according to claim 5 , wherein said token further contains an information about the sender of the token.
 7. Process for registering a purse (P_(i)) in a system according to claim 2 , said process comprising the steps consisting for a device containing said server in: (a) receiving a specific smart card, called the root card; (b) receiving a personal identification number (rootPlN) entered by a user on said device and sending said personal identification number to said root card, said root card verifying that the received personal identification number matches a personal identification number stored in said root card; and should verification be positive: (c) receiving a smart card corresponding to the purse (P_(i)) to be registered; and (d) receiving from said smart card data containing: a purse identifier (PID_(i)) and a signature of said purse identifier using said first secret key (SKA); a server transaction identifier (TransID_(i) ^(S)) initialized with the value of the purse transaction identifier (TransID_(i) ^(P)) stored in said smart card and a signature of said server transaction identifier and of said purse identifier (PID_(i)) using said second secret key (SKT); and (e) storing the data received from said smart card in the entry corresponding to said purse in said server.
 8. Process for depositing a token from a first purse (P_(A)) for a second purse (P_(B)) in an electronic wallet system according to claim 5 , said process comprising the steps consisting, for a device comprising an entity (21, 22, 2 k; 121-124) called a client, in: (a) receiving a smart card corresponding to said first purse (P_(A)); (b) receiving (153) from the server data (PurseInfo) containing: a purse identifier (PID_(B)) of said second purse (P_(B)) and a signature of said purse identifier using the first secret key (SKA); and a server transaction identifier (TransID_(B) ^(S)) for said second purse and a signature of said server transaction identifier and of said second purse identifier (PID_(B)) using the second secret key (SKT); (c) sending (154) to said smart card said data (PurseInfo) received from said server and the amount (N) of money to be deposited for said second purse; said smart card verifying the signatures contained in said data using said first (SKA) and said second (SKT) secret keys, and should verification be positive: (d) receiving (155) from said smart card data (TokenInfo) containing: a token and a signature of said token using the third secret key (SK); and an incremented server transaction identifier (TransID_(B) ^(S)++) for said second purse and a signature of said incremented server transaction identifier and of said second purse identifier using the second secret key (SKT); (e) sending (156) to said server said data received from said smart card.
 9. Process according to claim 8 , further comprising, before step (b), the steps consisting in: (a1) sending (150) a first message (getPurseList) to said server to request a list of purses liable to receive tokens; (a2) receiving (151) from said server a list of purse identifiers (PID₁, . . . , PID_(m)) of the purses liable to receive tokens; and (a3) sending (152) a second message (getPurseInfo(PID_(B))) to said server to request information about said second purse (P_(B)).
 10. Process according to claim 8 , wherein said smart card corresponding to said first purse (P_(A)) decrements said first purse counter by the amount (N) of money to be deposited for said second purse before step (d).
 11. Process according to claim 8 , wherein the token contained in data sent at step (d) comprises: the amount (N) of money to be deposited for said second purse; said second purse identifier (PID_(B)); the server transaction identifier (TransID_(B) ^(S)) for said second purse; and a random number (C).
 12. Process according to claim 11 , wherein said token further comprises: said first purse identifier (PID_(A)).
 13. Process for receiving a token in a purse (P_(B)) in an electronic wallet system according to claim 5 , said process comprising the steps consisting, for a device comprising an entity (21, 22, 2 k; 121-124) called a client, in: (a) receiving a smart card corresponding to said purse (P_(B)); (b) sending (162) to the server a message (GetNextToken(PID_(B))) to request a token stored for said purse (P_(B)) in the server, and should at least one token be stored in the entry corresponding to said purse (P_(B)) in the server: (c) receiving (163) from the server the index (Index_(B)) and a token stored in the entry corresponding to said purse; (d) sending (164) the token to said smart card; and (e) repeating steps (b) to (d) while the value of the received index (Index_(B)) is greater than zero.
 14. Process according to claim 13 , wherein the server decrements said index (Index_(B)) before step (c).
 15. Process according to claim 13 , further comprising, before step (b), the steps consisting in: (a1) sending (160) to said smart card a first message (getPID) to request the purse identifier; and (a2) receiving (161) from said smart card said purse identifier (PID_(B)).
 16. Process according to claim 13 , wherein a signature of the token using said third secret key (SK) is attached to the token received at step (c) and is sent to said smart card at step (d); said process further comprising the steps consisting, for said smart card in: (d1) verifying said signature of the token and (d2) verifying that the server transaction identifier (TransID_(B) ^(S)) contained in said token is greater than or equal to the purse transaction identifier (TransID_(B) ^(P)) stored in said smart card; and should verifications be positive: (d3) incrementing the purse counter by the amount (N) of money contained in said token; and (d4) storing in said purse transaction identifier (TranslD_(B) ^(P)) the value of the server transaction identifier (TransID_(B) ^(S)) incremented by one.
 17. Process according to claim 8 in an electronic wallet system in which each smart card further contains deposit trace data for each purse liable to receive tokens from other purses, said data comprising: an inter purse transaction identifier; and an inter purse deposit count; and wherein, before step (d), said smart card corresponding to said first purse (P_(A)): updates the inter purse transaction identifier for said second purse (TransID_(AB)) with the value of said server transaction identifier for said second purse (TransID_(B) ^(S)) received at step (b); and adds the amount (N) of money to be deposited for said second purse (P_(B)) to the inter purse deposit count for said second purse (sum_of_deposited_(AB)).
 18. Process according to claim 16 in an electronic wallet system in which each smart card further contains receive trace data comprising a receive count, wherein, after step (d4), said smart card adds the amount (N) of money contained in said token to the receive count (sum_of_received_(B)) of said purse (P_(B)).
 19. Process for recovering tokens which have been deposited for one first purse (P_(D)) using a process according to claim 17 but which have not been received by said purse when using a process according to claim 18 in an electronic wallet system according to claim 5 , said process comprising the steps consisting, for a device containing the server in: (i) successively receiving the smart cards corresponding to all the other purses of said system and, for each of said purses (P_(X)), receiving deposit trace data (Trace_(XD)) for said first purse (P_(D)), said deposit trace data containing the inter purse transaction identifier (TransID_(XD)); and the inter purse deposit count (sum_of_deposited_(XD)); (j) receiving the smart card corresponding to said first purse (P_(D)); (k) sending to said smart card all the deposit trace data received at step (i); the process further comprising the steps consisting for said smart card in: (l) calculating the sum of the received inter purse deposit counts (Σ_(X) sum_of_deposited_(XD)) minus the receive count of said first purse (sum_of_received_(D)) and incrementing the counter of said first purse (P_(D)) with the result of this calculation; (m) setting the the receive count of said first purse (sum_of_received_(D)) to zero.
 20. Process according to claim 19 , further comprising, before step (i), the steps consisting in: (h1) receiving the smart card corresponding to said first purse (P_(D)); (h2) sending (180) to said smart card a first message (getChallenge) requesting a random number; and (h3) receiving (181) from said smart card a random number (C); said random number (C) being sent, at step (i), with the first purse identifier (PID_(D)) to each smart card corresponding to all the other purses of said system in a second message (getDepositTraces(PID_(D), C)) and wherein each deposit trace data (Trace_(XD)) for said first purse (P_(D)) received at step (i) further contains: said random number (C); the purse identifier (PID_(X)) of each other purse; and said first purse identifier (PID_(D)).
 21. Process according to claim 20 in a system in which each smart card further contains a fourth token recovery secret key (SKR), wherein a signature of said deposit trace data using said fourth secret key is attached to said deposit trace data received at step (i).
 22. Process according to claim 21 , further comprising, before step (l), the steps consisting for the smart card corresponding to said first purse (P_(D)) in: verifying the signature of said deposit trace data using said fourth secret key (SKR); and verifying that the random number (C) contained in said deposit trace data matches the random number generated by said smart card before step (h3); the steps (l) and (m) being executed only if said verifications are positive.
 23. Process according to claim 22 further comprising, after step (l) the step consisting for the smart card corresponding to said first purse (P_(D)) in: updating said first purse transaction identifier (TransID_(D) ^(P)) with the maximum value of: said first purse transaction identifier (TransID_(D) ^(P)); and each inter purse transaction identifier contained in the deposit trace data incremented by one (TransID_(XD)+1).
 24. Electronic wallet system according to claim 1 , wherein each smart card of the system further contains an address of said server on the open network (IP address S) and wherein each device is capable of conducting remote token depositing process and/or remote token receiving process with a remote electronic wallet system connected to said open network. 